package net.togogo.mapper;

import java.util.List;
import net.togogo.bean.EBuyer;
import net.togogo.bean.EBuyerExample;
import org.apache.ibatis.annotations.Param;

public interface EBuyerMapper {
    int countByExample(EBuyerExample example);

    int deleteByExample(EBuyerExample example);

    int deleteByPrimaryKey(String username);

    int insert(EBuyer record);

    int insertSelective(EBuyer record);

    List<EBuyer> selectByExample(EBuyerExample example);

    EBuyer selectByPrimaryKey(String username);

    int updateByExampleSelective(@Param("record") EBuyer record, @Param("example") EBuyerExample example);

    int updateByExample(@Param("record") EBuyer record, @Param("example") EBuyerExample example);

    int updateByPrimaryKeySelective(EBuyer record);

    int updateByPrimaryKey(EBuyer record);
}